export type MemberType = {
  positionName: string, // 中文名
  positionCode: string, // 英文code
  list: [
    { memberName: string }
  ]
}
export type AboutPageType = {
  onlineTime: string,
  memberList: MemberType[]
}

// positionManage
export type GetPositionParam = {
  positionName: string,
  positionCode: string
}
export interface AddPostionParam extends GetPositionParam{
}
export interface EditPositionParam extends GetPositionParam{
  id:number
}
export type PositionListType = {
  positionName: string,
  positionCode: string,
}
export type PositionDetailParam = {
  positionName: string,
  positionCode: string,
  memberName: string,
  currentPage: number,
  pageSize: number
}
export type PositionDetailListType = Omit<PositionDetailParam, "currentPage" | "pageSize">

export type PostionMemberParam = {
  positionCode: string,
  userId: number
}